package io.renren.modules.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.DeviceInformationDao;
import io.renren.modules.generator.entity.DeviceInformationEntity;
import io.renren.modules.generator.service.DeviceInformationService;



@Service("deviceInformationService")
public class DeviceInformationServiceImpl implements DeviceInformationService {
	@Autowired
	private DeviceInformationDao deviceInformationDao;
	
	@Override
	public DeviceInformationEntity queryObject(Integer id){
		return deviceInformationDao.queryObject(id);
	}
	
	@Override
	public List<DeviceInformationEntity> queryList(Map<String, Object> map){
		return deviceInformationDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return deviceInformationDao.queryTotal(map);
	}
	
	@Override
	public void save(DeviceInformationEntity deviceInformation){
		deviceInformationDao.save(deviceInformation);
	}
	
	@Override
	public void update(DeviceInformationEntity deviceInformation){
		deviceInformationDao.update(deviceInformation);
	}
	
	@Override
	public void delete(Integer id){
		deviceInformationDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		deviceInformationDao.deleteBatch(ids);
	}
	
}
